package CN.EDU.SEU.程序员代码面试指南.chapter_7_bitoperation;

public class Problem_01_SwapWithoutTmp {

    public static void main(String[] args) {
        int a = 16;
        int b = 111;
        System.out.println(a);
        System.out.println(b);
        a = a ^ b;
        b = a ^ b;
        a = a ^ b;
        System.out.println(a);
        System.out.println(b);
    }

}
